package com.liuxu.topnews.utils;

import com.liuxu.topnews.bean.DialogData;

import java.util.HashMap;

public class DialogUtil {
    public HashMap dialogs =new HashMap();
    public String back="input keyevent 4";
    public String home="input keyevent 3";
    public DialogUtil(){
        init();
    }
    public void init(){
        dialogs.put("com.miui.wakepath.ui.ConfirmStartActivity",setdata(1,"android:id/button1"));
        dialogs.put("com.xiangzi.jukandian.widget.dialog.QuitAdvertDialog",setdata(0,"继续赚钱"));
        dialogs.put("android.support.v7.globalapp.AlertDialog",setdata(0,"继续赚钱"));
        dialogs.put("com.songheng.eastfirst.common.view.widget.dialog.PushDialog",setdata(0,"忽略"));
        dialogs.put("com.weishang.wxrd.ui.dialog.TimePeriodRewardDialog",setdata(0,"继续阅读"));
        dialogs.put("cn.etouch.ecalendar.c.al",setdata(0,"知道了"));
        dialogs.put("com.android.server.am.AppNotRespondingDialog",setdata(0,"确定"));
        dialogs.put("android.globalapp.Dialog",setdata(2,back));
        dialogs.put("com.xcm.huasheng.ui.activity.AdsDetailActivity",setdata(2,back));
        dialogs.put("com.xcm.huasheng.ui.activity.CommentActivity",setdata(2,back));
        //android.widget.FrameLayout红包拆开
       //c.l.a.views.AppBoxHomeActivity首页
        //c.l.a.feed.wyyl.FeedArticleDetailActivitySub2文章
    }
    public DialogData setdata(int i, String str){
        DialogData data=new DialogData(i,str);
        return data;
    }

}
